projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd0f4fa
)
dfu:ext4:fix: Change ext4write command order of parameters
author
Łukasz Majewski
<
[email protected]
>
Thu, 4 Apr 2013 04:32:57 +0000
(
04:32
+0000)
committer
Tom Rini
<
[email protected]
>
Mon, 8 Apr 2013 16:00:51 +0000
(12:00 -0400)
Following commit:
"cmd_ext4: BREAK and correct ext4write parameter order"
SHA1:
0171d52c410cbaa9290b1b214e695697c835bfe5
introduced cleanup of ext4write semantics to be consistent with other
filesystem's writing commands (e.g. fatwrite).
This commit provides correct ext4write command generation at DFU eMMC
code.
Signed-off-by: Lukasz Majewski <
[email protected]
>
Signed-off-by: Kyungmin Park <
[email protected]
>
drivers/dfu/dfu_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/dfu/dfu_mmc.c
b/drivers/dfu/dfu_mmc.c
index 083d74591b0be80739281bd8bb5263e68c9abf3d..afd350652ad3fa16ed399e74d4506575bea8037e 100644
(file)
--- a/
drivers/dfu/dfu_mmc.c
+++ b/
drivers/dfu/dfu_mmc.c
@@
-72,10
+72,10
@@
static int mmc_file_op(enum dfu_mmc_op op, struct dfu_entity *dfu,
(unsigned int) buf, dfu->name, *len);
break;
case DFU_FS_EXT4:
- sprintf(cmd_buf, "ext4%s mmc %d:%d
/%s 0x%x
%ld",
+ sprintf(cmd_buf, "ext4%s mmc %d:%d
0x%x /%s
%ld",
op == DFU_OP_READ ? "load" : "write",
dfu->data.mmc.dev, dfu->data.mmc.part,
-
dfu->name, (unsigned int) buf
, *len);
+
(unsigned int) buf, dfu->name
, *len);
break;
default:
printf("%s: Layout (%s) not (yet) supported!\n", __func__,